package com.zwh.autoconfigure.interceptor;

import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zwh
 * @date 2020/12/9 14:49
 **/
@Component
@ConfigurationProperties(value = CommonSignValidFilterProperties.PREFIX, ignoreInvalidFields = true)
public class CommonSignValidFilterProperties {
    public static final String PREFIX = "web.interceptor.sign";

    List<String> addPathPatterns;
    List<String> excludePathPatterns;

    public List<String> getAddPathPatterns() {
        return addPathPatterns;
    }

    public void setAddPathPatterns(List<String> addPathPatterns) {
        this.addPathPatterns = addPathPatterns;
    }

    public List<String> getExcludePathPatterns() {
        return excludePathPatterns;
    }

    public void setExcludePathPatterns(List<String> excludePathPatterns) {
        this.excludePathPatterns = excludePathPatterns;
    }
}